import { request } from '@/utils/request.js'

// 登录
export function login(data) {
  return request({
    url: `/base/open/login`,
    method: 'post',
	data
  })
}

// 获取验证码
export function captcha(data) {
  return request({
    url: `/base/open/captcha`,
    method: 'get',
	data
  })
}

// 
export function logout() {
  return request({
    url: `/base/comm/logout`,
    method: 'post'
  })
}
